### dojo.undo.browser test (dojo.io.bind() with bookmarking)

See the Dojo Book entry for Back Button and Bookmarking.

This page tests the dojo.undo.browser back/forward integration with dojo.io.bind(), and dojo.undo.browser's bookmarking facility. For a back/forward test without bookmarking, see test_browser.html.

The buttons that start with "XHR" use dojo.io.bind to do some XMLHTTPRequest calls for some test data, and they also define back/forward handlers, so dojo.io should use dojo.undo.browser add to history tracking.

To test the bookmarking facility:

- Click on one of the buttons below.
- Save the resulting URL as a bookmark.
- Close the browser window, or navigate to a different page.
- Click on the bookmark to jump to that state in the page

Other notes:

- Don't test this page using local disk for MSIE. MSIE will not create a history list for iframe_history.html if served from a file: URL. The XML served back from the XHR tests will also not be properly created if served from local disk. Serve the test pages from a web server to test in that browser.
- Safari 2.0.3+ (and probably 1.3.2+): Only the back button works OK (not the forward button), and only if changeUrl is NOT used (so it will not work for this test page, since it is using bookmarking -- changeUrl). When changeUrl is used, Safari jumps all the way back to whatever page was shown before the page that uses dojo.undo.browser support.
- Opera 8.5.3: Does not work.
- Konqueror: Unknown. The latest may have Safari's behavior.

Data Output:

Back/Forward Info: